#include <iostream>
#include <string>

using namespace std;

void inHello()
{
	cout<<"Hello word"<<endl;
}


string strHello(string str)
{
	str = "hello word";
	return str;
}

int main()
{
	string strHelloWord;
	inHello();
	cout<<strHello(strHelloWord);
	cout<<"\n";
	system("pause");
}